Property Expressions Exercise 6
Exercise 6: OI (Property in a Property Name)
Objective
To use an OpCon Instance to combine a Schedule Instance Property with another string to create another Property Name.
Summary
Utilizing an OpCon Instance to create and use a Property Name that is the combination of 2 values that will resolve to the wanted parameter value.
Instructions
Create the Global Properties
- Create 6 Global Properties
- PROD-LOAD =
5 - PROD-POST =
30 - PROD-RETURNS =
15 - DEV-LOAD =
3 - DEV-POST =
18 - DEV-RETURNS =
9
Create the Schedule
- Create a Multi-Instance Schedule named Property In Property Name with two different Schedule Instance Properties
- ENV =
PROD - ENV =
DEV
Create the Jobs
- Create a Windows Jobs with the following settings
- Job Name:
Load Job - Job Type:
Windows - Primary Machine:
SMATraining - User ID:
SMATRAINING\SMAUSER - Command Line
timeout /t [[OI.[[=[[SI.ENV]]+"-LOAD"]]]] - Frequency:
MON-FRI-N
- Copy the job to create the jobs for Post and Returns.
- Make sure to modify the expression in the command line accordingly.
- Add dependencies so that they run in order
- Load → Post → Returns
Build the schedule
- Build and run the schedule for today.
note
Verify that 2 schedules build, PROD and DEV and that all jobs ran successfully
